import request from '@/utils/http';

/** 统计机构数量 */
export const orgStatisticsRequest = (data: object) => {
  return request.post('/org/statistics', data);
};
/** 获取机构列表 */
export const orgGetOrgListRequest = (data: object) => {
  return request.post('/org/getOrgList', data);
};

/** 查看与编辑数据回显 */
export const getOrgDetailRequest = (data: object) => {
  return request.post('/org/getOrgDetail', data);
};

/** 新增 */
export const addOrgRequest = (data: object) => {
  return request.post('/org/addOrg', data);
};

/** 充值新增 */
export const rechargeCheckPointsRequest = (data: object) => {
  return request.post('/org/rechargeCheckPoints', data);
};

/** 充值记录 */
export const institutionRechargeRecordRequest = (data: object) => {
  return request.post('/institutionRechargeRecord', data);
};

/** 选择套餐和默认套餐 */
export const selectMealRequest = (data: object) => {
  return request.post('/institutionMeal/selectMeal', data);
};

/** 合作套餐回显 */
export const cooperationMealRequest = (data: object) => {
  return request.post('/meal/cooperationMeal', data);
};

/** 报告 */
export const exportRequest = (data: object) => {
  return request.post('/org/export', data);
};

/** 暂停合作-合作中 */
export const pauseOrgRequest = (data: object) => {
  return request.post('/org/pauseOrg', data);
};



/** 编辑保存 */
export const editOrgRequest = (data: object) => {
  return request.post('/org/editOrg', data);
};
